package main

type Point struct {
	X int
	Y int
}

func (p Point) add(other Point) Point  {
	return Point{p.X + other.X, p.Y + other.Y}
}

//func main() {
//	p1 := Point{1, 1}
//	p2 := Point{2, 2}
//	result := p1.add(p2)
//	fmt.Println(result)
//}